#ifndef DOWCONSTRAINT_H_
#define DOWCONSTRAINT_H_

#include "constraint.h"
#include <boost/shared_ptr.hpp>

/// Day-of-Week constraint.  Days of the week allowed to be scheduled.
class DOWConstraint : public Constraint {
public:
    enum dow { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday };

	DOWConstraint(const dow&);
	virtual ~DOWConstraint();

	bool consider(const Schedule&);
    std::string to_string();
    
private:
    dow dow_;
};

#endif
